<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    //用户模型关联表
    public $table='blog_user';
    //关联表的主键
    public $primaryKey='id';
    /**
     * 允许被批量操作的此字段
     *
     * @var array
     */
//    protected $fillable = [
//        'username', 'password', 'email', 'phone', 'state'
//    ];
    public $guarded=[];
    //禁用时间戳
    public $timestamps =false;
}
